parseTime
Version 1.10.0.0 (118 KB) by
Robert
Converts number of seconds to a human readable time string.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
timestr = parseTime(numSeconds)
Returns a string describing the equivalent time in years, months, weeks, days, hours, minutes, and seconds.
Cite As
Robert (2024). parseTime (https://github.com/raaperrotta/parseTime), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on String Parsing in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.